package com.qqtech.qquan.community.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@SuppressWarnings("serial")
public class CommunityJoinVo extends CommunityJoin {
	/**
	 * 是否可以退出社区，超过一个月才允许
	 */
	private boolean isCanQuit;
	
	/**
	 * 退出时提示什么日期才可以加入
	 */
	private String hintTime;

	/**
	 * 加入社区记录数量，大于3条，退出时提示一个月后才可以加入
	 */
	private Integer quantity;
	
	/**
	 * 加入社区最大数
	 */
	private Integer maxQuantity;
	

	/**
	 * 社区地址
	 */
	private String address;

	/**
	 * 社区名称
	 */
	private String communityName;

	public String getAddress() {
		return address;
	}
	
	public String getCommunityName() {
		return communityName;
	}
	

	public String getHintTime() {
		return hintTime;
	}

	public boolean getIsCanQuit() {
		return isCanQuit;
	}

	public Integer getMaxQuantity() {
		return maxQuantity;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public void setHintTime(String hintTime) {
		this.hintTime = hintTime;
	}

	public void setIsCanQuit(boolean isCanQuit) {
		this.isCanQuit = isCanQuit;
	}

	public void setMaxQuantity(Integer maxQuantity) {
		this.maxQuantity = maxQuantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}